package com.example.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.server.bean.Employee;
import com.example.server.util.PageRespBean;
import com.example.server.util.RespBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 别怿言
 * @since 2023-02-03
 */
public interface IEmployeeService extends IService<Employee> {

    PageRespBean getEmloyeeByPage(Integer currentPage, Integer size, Employee employee, LocalDate[] beginDateScope);

    RespBean maxWorkId();

    RespBean addEmployee(Employee employee);

    List<Employee> getEmployee(Integer id);

    PageRespBean getSalariesByPage(Integer currentPage, Integer size);

}
